<template>
	<view class="content">
		<view class="address-order">
			<view class="address">
				<view class="name">
					<image src="http://shoe-orange.laiwang.work/img/myaddress.png" mode=""></image>
					<text>鞋柜编号：山东大学001号</text>
				</view>
				<view class="address-des">
					地址：北京市东城区未来路4号楼1254室
				</view>
			</view>
			<view class="order">
				<view class="order-li">
					<image src="" mode=""></image>
					<view class="order-li-right">
						<view class="name">普通机洗</view>
						<view class="des">使用自动机械对鞋子里外进行清洗，使用温和洗涤剂，机洗会有概率损伤鞋面，介意慎选。</view>
						<view class="price">¥8.00</view>
					</view>
				</view>
			</view>
		
			
		</view>
		<view class="order-info">
			<view class="order-info-li">
				<view>商品总额</view>
				<text>￥8.00</text>
			</view>
			<view class="order-info-li">
				<view>优惠券 <text>10个可用</text> </view>
				<text>
					
				</text>
			</view>
			<view class="order-info-li shuxiang">
				<view class="name">备注</view>
				<textarea  placeholder="" />
			</view>
			<view class="order-info-li shuxiang">
				<view class="name">上传附件</view>
				<u-upload width="160" height="160" :action="action"  ></u-upload>
			</view>
			
		</view>
		<!-- 底部按钮 -->
		<view class="order-bottom-box">
			<view class="order-bottom-info">
				<view class="price">
					实付金额：
					<text>¥8.00</text>
				</view>
				<button  class="u-reset-button" @click="isPay()">付款</button>
			</view>
		</view>
		<!-- 优惠券弹窗 -->
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				action:''
			}
		},
		methods: {
			isPay(){
				uni.navigateTo({
					url:'../../pay/pay'
				})
			}
		}
	}
</script>

<style lang="less">
	.content{
		padding: 10rpx 20rpx;
	}
.address-order{
	background: #FFFFFF;
	border-radius: 10rpx;
	.address{
		padding: 30rpx;
		padding-bottom: 40rpx;
		background: url('http://shoe-orange.laiwang.work/img/address-line.png') bottom no-repeat;
		background-size: 100%;
		.name{
			image{
				width: 24rpx;
				height: 30rpx;
				margin-right: 19rpx;
			}
			font-size: 30rpx;
			color: #333;
			font-weight: bold;
			margin-bottom: 27rpx;
		}
		.address-des{
			color: 24rpx;
			color: #666666;
		}
	}
}
// 订单样式
.order{
	padding: 0 9rpx;
	padding-top: 34rpx;
	.order-li{
		display: flex;
		align-items: center;
		padding-bottom: 35rpx;
		image{
			width: 150rpx;
			height: 150rpx;
			border-radius: 10rpx;
			overflow: hidden;
		}
		.order-li-right{
			width: calc(100% - 150rpx);
			padding-left: 20rpx;
			.name{
				font-size: 30rpx;
			}
			.des{
				font-size: 24rpx;
				margin-top: 9rpx;
				margin-bottom: 9rpx;
			}
			.price{
				font-size: 26rpx;
				font-weight: 500;
				color: #FF9A33;
			}
		}
	}
}
// 订单信息
.order-info{
	background: #FFFFFF;
	border-radius: 10rpx;
	margin-top: 20rpx;
	padding: 39rpx 21rpx;
	.order-info-li{
		display: flex;
		align-items: center;
		justify-content: space-between;
		view{
			font-size: 26rpx;
		}
		margin-bottom: 45rpx;
		textarea{
			background: #F5F5F5;
			border-radius: 10rpx;
			width: 100%;
			height: 100rpx;
			padding: 20rpx;
			box-sizing: border-box;
		}
	}
	.shuxiang{
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		.name{
			margin-bottom: 20rpx;
		}
	}
}
// 底部按钮
.order-bottom-box{
	width: 100%;
	height: 98rpx;
	position: fixed;
	left: 0;
	bottom: 0;
	background: #FFFFFF;
	padding: 0 30rpx;
	.order-bottom-info{
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.price{
			font-size: 34rpx;
			font-weight: 500;
			text{
				color: #FF9A33;
			}
		}
		button{
			margin: 0 ;
			width: 200rpx;
			height: 70rpx;
			border-radius: 35rpx;
			color: #FFFFFF;
			font-size: 32rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			background: #FF9A33;
		}
	}
}
</style>
